home *** CD-ROM | disk | FTP | other *** search
- Path: rzstud1.rz.uni-karlsruhe.de!uhay
- From: uhay@rzstud1.rz.uni-karlsruhe.de (David Luebbren)
- Newsgroups: comp.sys.amiga.applications
- Subject: Re: gnuemacs 18.59 and LaTeX Mode
- Date: 29 Mar 1996 02:23:35 GMT
- Organization: University of Karlsruhe, Germany
- Message-ID: <4jfhj7$f5t@nz12.rz.uni-karlsruhe.de>
- References: <19960325.7651158.11A78@amy.s.bawue.de>
- NNTP-Posting-Host: rzstud1.rz.uni-karlsruhe.de
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- NNTP-Posting-User: uhay
- X-Newsreader: TIN [version 1.2 PL2]
-
- mma@amy.s.bawue.de wrote:
- : Hi,
-
- : I am using the amiga port 1.29DG of gnuemacs 18.59,
- : and have a Problem in the LaTeX Mode.
-
- : ESC-{ is a keystroke for inserting two braces and putting
- : the cursor between them. But ESC-{ only gives K{ on my window.
- : Using C-h l i can see ESC C-x C-^ K {
-
- : So what must i to put into my .emacs file to correct this
- : mistake ?.
-
- : (Of course ESC-{ doesnt function too)
-
- It looks like the numeric keypad keys have been redefined in your .emacs file.
- The problem is that you can either redefine all the keypad keys or none. I
- for example have redefined these keys to move around in emacs (e.g. HOME, END).
- The drawback however is that I for example can't use the curly braces in the
- 'search-forward' command as Emacs prefixes all the keypad keys with C-x C-^ K
- when they are redefined. Anyway, the workaround is either not to redefine the
- keypad keys or use ALT-SHIFT-U Umlaut.
-
-
- Excerpt from "amiga.doc":
-
- o Keypad keys are prefixed with C-x C-^ K (so 0 generates C-x C-^ K 0).
- Normally, C-x C-^ K is a do-nothing operation, so the keypad keys just
- insert the usual character. If you want to redefine the keypad keys, you
- must do the following:
-
- (global-set-key "\C-x\C-^K" (make-sparse-keymap))
- (global-set-key "\C-x\C-^K0" '<function for key 0>)
- (global-set-key "\C-x\C-^K1" '<function for key 0>)
- ...
-
- Once you have redefined one key, you must define all of them (as C-x C-^ K
- is no longer a do-nothing command). If you still want a keypad to insert
- its usual character, you can use (for +)
-
- (global-set-key "\C-x\C-^K+" 'self-insert-command)
-
- Even with this, the numeric keypad will not work with the incremental
- search function. The only way past that is to disable the C-x C-^ K
- prefix, with the following code:
-
- (setq amiga-remap-numeric-keypad nil)
-
- (and you will then not be able to redefine the keypad keys).
-